﻿using System;
using System.Windows.Media;

namespace Graphe.Windows.Controls.Collations
{
    public class CollationTextBlock : System.Windows.Controls.TextBlock, ICollationControl
    {
        #region Public Properties

        public bool Selected
        {
            set
            {
                if (value)
                    Background = new SolidColorBrush(Colors.Coral);
                else
                    Background = null;
            }
        }

        #endregion
    }
}
